<template>
    <div id="content-two">
        <div class="title">
            {{ title }}
        </div>
        <slot name="content"></slot>
    </div>
</template>

<script>
    export default {
        props: {
            title: {
                type: String,
                default: ''
            }
        },
        data () {
            return {
            };
        }
    };
</script>

<style lang="less" scoped>
@import '~assets/styles/variable';
#content-two{
    margin-top: 20px;
    padding: 0 10px 15px;
    border-radius: 10px;
    background-color: @color-content-background;
    &>.title{
        position: relative;
        line-height: 74px;
        text-align: center;
        font-size: @font-size-large-x;
        &:before,&:after{
            position: absolute;
            bottom: 28px;
            content: '';
            display: inline-block;
            width: 67px;
            height: 2px;
            background-color: #000;
        }
        &:before{
            left: 0;
        }
        &:after{
            right: 0;
        }
    }
}
</style>
